package com.qfedu.zf.index.controller;


import com.qfedu.zf.common.vo.R;
import com.qfedu.zf.index.service.ImagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 * 图片表 前端控制器
 * </p>
 *
 * @author wgz
 * @since 2024-06-16
 */
@RestController
@RequestMapping("/index/images")
public class ImagesController {

    @Autowired
    ImagesService imagesService;

    @RequestMapping("/listingsImage")
    public R listingsImage(@RequestParam Map<String,Object> map) {
        return imagesService.listingsImage(map);
    }

}

